package wifiunion.com.notice.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/6/12.
 * 同步任务对象
 */

public class DatasyncEntity implements Serializable {

    private static final long serialVersionUID = 2566865571072630559L;
    /**
     * uuid
     */
    private String uuid;


    /**
     * way 同步方式，0定时同步，1立即同步
     * isdate  日期 0不限日期，1限日期
     */
    private int way, isdate;
    /**
     * ip ip地址,
     * port 端口号,
     * phone 账号
     * password 账号密码
     * note 备注
     * modules 同步内容，1设备，2外接设备与系统，3用户，4未登记，5通知，6识别 用分号隔开
     * startDate 开始日期
     * endDate 结束日期
     * startTime 开始时间
     * cycle 周期  存储的数据如1,2,3,4,5,6,7 代表星期一到星期日
     * groupUuid 分组uuid，用分号隔开
     * groupName 分组名称，用分号隔开
     */
    private String ip, port, phone, password, note, modules, startDate, endDate, startTime, cycle, groupUuid, groupName;

    /**
     * 创建时间
     */
    private long createdTime;


    public int getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(int isSelected) {
        this.isSelected = isSelected;
    }

    private int isSelected;

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    public int getIsdate() {
        return isdate;
    }

    public void setIsdate(int isdate) {
        this.isdate = isdate;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getModules() {
        return modules;
    }

    public void setModules(String modules) {
        this.modules = modules;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getCycle() {
        return cycle;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public String getGroupUuid() {
        return groupUuid;
    }

    public void setGroupUuid(String groupUuid) {
        this.groupUuid = groupUuid;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }
}
